projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2d9f5a
)
Bug 596494 - New property "cursor" in 2.18's GdkWindow with wrong type?
author
Cody Russell
<bratsche@gnome.org>
Sun, 27 Sep 2009 19:37:19 +0000
(14:37 -0500)
committer
Cody Russell
<bratsche@gnome.org>
Sun, 27 Sep 2009 19:37:19 +0000
(14:37 -0500)
Use a boxed paramspec with GDK_TYPE_CURSOR instead of a pointer paramspec.
gdk/gdkwindow.c
patch
|
blob
|
history
diff --git
a/gdk/gdkwindow.c
b/gdk/gdkwindow.c
index c8e7249ec580d8e54f172350999a3bd835f1fccc..93024accf33de68029bb328f05f52feabf5d1201 100644
(file)
--- a/
gdk/gdkwindow.c
+++ b/
gdk/gdkwindow.c
@@
-468,10
+468,11
@@
gdk_window_class_init (GdkWindowObjectClass *klass)
/* Properties */
g_object_class_install_property (object_class,
PROP_CURSOR,
- g_param_spec_pointer ("cursor",
- P_("Cursor"),
- P_("Cursor"),
- G_PARAM_READWRITE));
+ g_param_spec_boxed ("cursor",
+ P_("Cursor"),
+ P_("Cursor"),
+ GDK_TYPE_CURSOR,
+ G_PARAM_READWRITE));
/**
* GdkWindow::pick-embedded-child: